MoraBanc Andorra wasted a 22-point lead but used a fourth-quarter run to take a big step towards the Top 16 with an 87-99 victory at ratiopharm Ulm.